package com.zzyl.service;

import com.zzyl.base.PageResponse;
import com.zzyl.base.ResponseResult;
import com.zzyl.dto.ReservationDto;
import com.zzyl.entity.CountByTime;
import com.zzyl.entity.Reservation;
import com.zzyl.vo.ReservationVo;

import java.time.LocalDateTime;
import java.util.List;

public interface CustomerReservationService {

    Integer findCancellerCount();

    PageResponse<ReservationVo> findByPage(Integer status, Integer pageNum, Integer pageSize);

    void save(Reservation reservation);

    void updateStatus(Long id);

    List<CountByTime> selectCountByTime(LocalDateTime begin,LocalDateTime end);

    void updateAllStatus();

}
